﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITJZ.BitHelper.APIModel;

namespace ITJZ.BitHelper.IAPI
{
    public interface IUser
    {
        /// <summary>
        /// 登陆
        /// </summary>
        /// <param name="email"></param>
        /// <param name="password"></param>
        /// <returns>无实际作用</returns>
        APIModel.User Login(string email, string password);

        /// <summary>
        /// 注册新账户
        /// </summary>
        /// <param name="email">登陆用的邮箱</param>
        /// <param name="password">密码</param>
        /// <returns></returns>
        ResInfo Register(string email, string password);
    }
}
